#include "register.h"

static struct file_system_type stagfs_fs_type = {
  .owner    = THIS_MODULE,
  .name     = "SimpleTagFS",
  .mount    = stagfs_mount,
  .kill_sb  = stagfs_kill_sb,
  .fs_flags = 0
};

static int __init init_stagfs(void)
{
  register_filesystem(&stagfs_fs_type);
  return 0;
}

static void __exit exit_stagfs(void)
{
  unregister_filesystem(&stagfs_fs_type);
  // destroy structures here
}

module_init(init_stagfs);
module_exit(exit_stagfs);
